﻿<UserControl x:Class="Navigation.View.OtherSampleView"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
             mc:Ignorable="d">

    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto" />
            <RowDefinition />
        </Grid.RowDefinitions>
        <HeaderedContentControl Header="Property Sample">
            <StackPanel Orientation="Horizontal">
                <TextBlock Text="ViewModel class name: "></TextBlock>
                <TextBlock Text="{Binding OtherSampleName}"></TextBlock>
            </StackPanel>


        </HeaderedContentControl>

        <HeaderedContentControl Grid.Row="1" Header="Command Sample">


            <Button Content="Button on OtherSampleView -> to SampleView" Command="{Binding ToSampleViewModelCommand}" />
        </HeaderedContentControl>

    </Grid>

</UserControl>